type IFormType = 'input' | 'password' | 'select' | 'datepicker' | 'number'
export interface IFormOption {
  title: string
  isShow: boolean
  loading: boolean
  submitType: string
  buttons: array
  query: obj
}
export interface IFormHeard {
  //colSpan: 24, type: 'input', key: 'aud', value: '',placeholder: '请输入AUD余额', disabled: false, label: 'AUD余额：',validator: 'floatReg', labelWidth: labelWidth, isRequired: false
  colSpan: number // 占位数
  type: IFormType // 类型
  label: string
  key: string // 键
  value: any // 初始值
  placeholder: string // 提示文本
  disabled: boolean // 是否禁用
  validator: string // 校验方法
  labelWidth: string
  isRequired: boolean // 是否必填
  rules: any // 自定义校验规则
  hide: boolean // 是否隐藏
  option: IFormHeardOption
}
interface IFormHeardOption extends IFormHeard {
  option: IFormOptionItem[]
}

interface IFormOptionItem {
  id?: number
  name: string
  code: string
}
